package com.ophiux.abstracts;

public class AlipayPay extends AbstractPay{
    @Override
    public boolean support(String payType) {
        return "alipay".equals(payType);
    }

    @Override
    public String pay(String payType) {
        if(!support(payType)){
            return "支付方式错误";
        }
        return "支付宝支付";
    }
}
